<div class="wrapper">
    <!-- Navbar -->
    <nav class="main-header navbar navbar-expand navbar-white navbar-light">
        <ul class="navbar-nav ml-auto">

            <li class="nav-item">
                <button class="btn btn-danger btn-sm" id="logoutBtn">退出登录</button>
            </li>
        </ul>
    </nav>
    <!-- /.navbar -->

    <!-- Main Sidebar Container -->
    <aside class="main-sidebar sidebar-dark-primary elevation-4">
        <!-- Brand Logo -->
        <a href="index3.html" class="brand-link">
            <img src="/adminLTE/img/logo.png" alt="AdminLTE Logo" class="brand-image img-circle elevation-3"
                style="opacity: .8">
            <span class="brand-text font-weight-light">尚硅谷广告管理系统</span>
        </a>

        <!-- Sidebar -->
        <div class="sidebar">
            <!-- Sidebar user panel (optional) -->
            <div class="user-panel mt-3 pb-3 mb-3 d-flex">
                <div class="image">
                    <img src="/adminLTE/img/logo.png" class="img-circle elevation-2" alt="User Image">
                </div>
                <div class="info">
                    <a href="#" class="d-block">Alexander Pierce</a>
                </div>
            </div>

            <!-- Sidebar Menu -->
            <nav class="mt-2">
                <ul class="nav nav-pills nav-sidebar flex-column" data-widget="treeview" role="menu"
                    data-accordion="false">
                    <!-- Add icons to the links using the .nav-icon class
               with font-awesome or any other icon font library -->
                <% let {url} = data%>
                    <li class="nav-item menu-open">
                        <a href="javascript:;" onclick="ROUTER.go(ADMINLIST)" class="nav-link <%= url===ADMINLIST ? 'active' : ''%>">
                            <i class="nav-icon fas fa-tachometer-alt"></i>
                            <p>
                                管理员列表
                                <i class="right fas fa-angle-left"></i>
                            </p>
                        </a>
                    </li>   
                    <li class="nav-item menu-open">
                        <a href="javascript:;" onclick="ROUTER.go(ADVLIST)" class="nav-link <%= url===ADVLIST ? 'active' : ''%>">
                            <i class="nav-icon fas fa-tachometer-alt"></i>
                            <p>
                                广告列表
                                <i class="right fas fa-angle-left"></i>
                            </p>
                        </a>
                    </li>   
                        
            </nav>
            <!-- /.sidebar-menu -->
        </div>
        <!-- /.sidebar -->
    </aside>

    <!-- Content Wrapper. Contains page content -->
    <div class="content-wrapper">
        <!-- Content Header (Page header) -->
        <div class="content-header">
            <div class="container-fluid">
                <div class="row mb-2">
                    <div class="col-sm-6">
                        <h1 class="m-0" id="titleShow">管理员列表</h1>
                    </div><!-- /.col -->

                </div><!-- /.row -->
            </div><!-- /.container-fluid -->
        </div>
        <!-- /.content-header -->

        <!-- Main content -->
        <section class="content">
            <div class="container-fluid">
                <%=data.subRoute%>
            </div><!-- /.container-fluid -->
        </section>
        <!-- /.content -->
    </div>
</div>